/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.improvement.bean;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


@ApiModel(value = "评估考核扣分项实体类", description = "评估考核扣分项实体类")
public class AssessmentItem extends BaseEntity {
    @ApiModelProperty(name = "assessmentId", value = "评估考核id", required = true, dataType = "String")
    private String assessmentId;

    @ApiModelProperty(name = "itemId", value = "扣分项id", required = true, dataType = "String")
    private String itemId;

    @ApiModelProperty(name = "itemName", value = "扣分项", required = true, dataType = "String")
    private String itemName;


    @ApiModelProperty(name = "deductedScore", value = "扣分", required = true, dataType = "Double")
    private Double deductedScore;

    @ApiModelProperty(name = "deductedReason", value = "扣分原因", required = true, dataType = "String")
    private String deductedReason;

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getAssessmentId() {
        return assessmentId;
    }

    public void setAssessmentId(String assessmentId) {
        this.assessmentId = assessmentId == null ? null : assessmentId.trim();
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public Double getDeductedScore() {
        return deductedScore;
    }

    public void setDeductedScore(Double deductedScore) {
        this.deductedScore = deductedScore;
    }

    public String getDeductedReason() {
        return deductedReason;
    }

    public void setDeductedReason(String deductedReason) {
        this.deductedReason = deductedReason == null ? null : deductedReason.trim();
    }

}